From 5abb6f2a618c42f848af4fcf957cc4e917b54186 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 16 Apr 2020 19:06:04 +0100 Subject: [PATCH] Fix annotation for gtk_show_uri_full() The callback is now an asynchronous closure. --- gtk/gtkshow.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gtk/gtkshow.c b/gtk/gtkshow.c index 2163b120a1..066e9ccb55 100644 --- a/gtk/gtkshow.c +++ b/gtk/gtkshow.c @@ -81,13 +81,12 @@ window_handle_exported (GtkWindow *window, /** * gtk_show_uri_full: - * @parent: (allow-none): parent window + * @parent: (nullable): parent window * @uri: the uri to show * @timestamp: timestamp from the event that triggered this call, or %GDK_CURRENT_TIME - * @cancellable: (allow-none): a #GCancellable to cancel the launch - * @callback (allow-none): a callback to call when the action is complete - * @user_data: data to pass to @callback - * @destroy: destroy notify for @user_data + * @cancellable: (nullable): a #GCancellable to cancel the launch + * @callback (scope async): a callback to call when the action is complete + * @user_data: (closure callback): data to pass to @callback * * This function launches the default application for showing * a given uri. -- 2.30.2